package marek.barak.interfaces;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
import marek.barak.classes.Data;
import java.util.Date;

public interface DataDAO {
	
	public void saveData(Data day) throws FileNotFoundException, IOException;
	public Data getData() throws FileNotFoundException, IOException, ClassNotFoundException;
	public List<Data> getDatas(Date from,Date to);

}
